﻿using Abp.AspNetCore.Mvc.Controllers;
using Batman.Cms.Services;
using Microsoft.AspNetCore.Mvc;

namespace Batman.Cms.Controllers.Pages
{
    public class PageController : AbpController
    {
        public ArticleAppSvc ArticleAppSvc { get; set; }

        public ActionResult Post(int id)
        {
            var model = ArticleAppSvc.GetArticleForDisplay(id);
            return View(model);
        }

    }
}
